home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows 95 API Bible
/
Windows 95 API Bible 3 Disc Set.iso
/
Win32 API Bible Book 1 of 3.iso
/
chapte25
/
ptprior.rc
< prev
Wrap
Text File
|
1995-01-18
|
3KB
|
89 lines
#include "windows.h"
#include "generic.h"
#include "winver.h"
#include <ptprior.h> // priority levels
MYAPP ICON DISCARDABLE "GENERIC.ICO"
SMALL ICON DISCARDABLE "SMALL.ICO"
CHECKMARK BITMAP DISCARDABLE "CHECK.BMP"
MYAPP MENU DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "E&xit", IDM_EXIT
END
POPUP "&Class"
BEGIN
MENUITEM "&Idle", IDM_IDLE_CLASS
MENUITEM "&Normal", IDM_NORMAL_CLASS
MENUITEM "&High", IDM_HIGH_CLASS
MENUITEM "&Real Time", IDM_REALTIME_CLASS
END
POPUP "&Level"
BEGIN
MENUITEM "&Worst", IDM_WORST
MENUITEM "&Low", IDM_LOW
MENUITEM "&Normal", IDM_NORMAL
MENUITEM "&High", IDM_HIGH
MENUITEM "&Best", IDM_BEST
END
MENUITEM "&Test", IDM_TEST
POPUP "&Help"
BEGIN
MENUITEM "&About MyApp...", IDM_ABOUT
END
END
ABOUTBOX DIALOG DISCARDABLE 22, 17, 171, 93
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "About My Application"
FONT 8, "System"
BEGIN
DEFPUSHBUTTON "OK",IDOK,126,71,32,14,WS_GROUP
ICON "MyApp",-1,3,2,18,20
LTEXT "CompanyName",DLG_VERFIRST,28,2,100,8
LTEXT "FileDescription",401,28,10,76,8
LTEXT "ProductVersion",402,113,10,53,8
LTEXT "LegalCopyright",403,28,19,137,8
LTEXT "LegalTrademarks",DLG_VERLAST,28,34,136,27
CONTROL "",501,"Static",SS_BLACKRECT,28,31,138,1
END
1 VERSIONINFO
FILEVERSION 3,3,0,0
PRODUCTVERSION 3,3,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0xbL
#else
FILEFLAGS 0xaL
#endif
FILEOS 0x4L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", "Your Company\0"
VALUE "FileDescription", "My Application\0"
VALUE "FileVersion", "1.0\0"
VALUE "InternalName", "MyApp\0"
VALUE "LegalCopyright", "Copyright \251 Your Company. 1995\0"
VALUE "LegalTrademarks", "Microsoft\256 is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation\0"
VALUE "OriginalFilename", "\0"
VALUE "ProductName", "MyApp\0"
VALUE "ProductVersion", "1.0\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END